﻿@if (!string.IsNullOrEmpty(ContentUrl))
{
    @foreach (var url in ContentUrl.Split('\n'))
    {
        <a href="@url" target="_blank">
            <span class="oi oi-paperclip me-5">：@(Path.GetFileName(url))</span>
        </a>
        <br />
    }
}

@code {
    [Parameter]
    public string ContentUrl { get; set; }
}
